package models

import "gorm.io/gorm"

type ToolItem struct {
	gorm.Model
	Name           string `gorm:"size:100;not null"`
	Slug           string `gorm:"size:100;uniqueIndex"`
	Description    string `gorm:"size:255"`
	IconURL        string `gorm:"size:255"`
	RoutePath      string `gorm:"size:100"`
	IsActive       bool   `gorm:"default:true"`
	ToolCategoryID uint
	SEO            SEO          `gorm:"embedded"`
	Category       ToolCategory `gorm:"foreignKey:ToolCategoryID"`
}
